[INFO] cloning repository https://github.com/Geal/proust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Geal/proust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeal%2Fproust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeal%2Fproust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d34a337e95e0c0cf6bd444c73b763ec759b25584
[INFO] checking Geal/proust against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeal%2Fproust" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Geal/proust on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Geal/proust
[INFO] finished tweaking git repo https://github.com/Geal/proust
[INFO] tweaked toml for git repo https://github.com/Geal/proust written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/Geal/proust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 71a37bf130336b81149729a0791055cb31f5391f456b4d64199713bcba02db62
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "71a37bf130336b81149729a0791055cb31f5391f456b4d64199713bcba02db62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "71a37bf130336b81149729a0791055cb31f5391f456b4d64199713bcba02db62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71a37bf130336b81149729a0791055cb31f5391f456b4d64199713bcba02db62", kill_on_drop: false }`
[INFO] [stdout] 71a37bf130336b81149729a0791055cb31f5391f456b4d64199713bcba02db62
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 30484cac50012c0143688ef9a82145d4519ab0fd4db64cb6a9dfafa5eafc34c9
[INFO] running `Command { std: "docker" "start" "-a" "30484cac50012c0143688ef9a82145d4519ab0fd4db64cb6a9dfafa5eafc34c9", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.33
[INFO] [stderr]    Compiling build_const v0.2.0
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking cfg-if v0.1.2
[INFO] [stderr]     Checking log v0.3.8
[INFO] [stderr]     Checking byteorder v1.2.1
[INFO] [stderr]     Checking slab v0.3.0
[INFO] [stderr]     Checking lazycell v0.5.1
[INFO] [stderr]     Checking thread_local v0.3.4
[INFO] [stderr]    Compiling crc v1.6.0
[INFO] [stderr]     Checking memchr v2.0.1
[INFO] [stderr]     Checking iovec v0.1.1
[INFO] [stderr]     Checking memchr v1.0.2
[INFO] [stderr]     Checking net2 v0.2.31
[INFO] [stderr]     Checking memmap v0.6.2
[INFO] [stderr]     Checking aho-corasick v0.6.4
[INFO] [stderr]     Checking bytes v0.4.5
[INFO] [stderr]     Checking nom v3.2.1
[INFO] [stderr]     Checking mio v0.6.11
[INFO] [stderr]     Checking regex v0.2.3
[INFO] [stderr]     Checking env_logger v0.4.3
[INFO] [stderr]     Checking proust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parser/message.rs:147:39
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn foo<'a>(mb: &'a [u8], crc_parser: &Fn(&'a [u8]) -> IResult<&'a [u8], u32>) -> IResult<&'a [u8], Message<'a>> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a [u8]) -> IResult<&'a [u8], u32>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufMut`, `BytesMut`
[INFO] [stdout]  --> src/network/kafka.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::{BytesMut, BufMut};
[INFO] [stdout]   |             ^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/network/kafka.rs:57:78
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn start_listener(address: String) -> Result<thread::JoinHandle<()>, Box<Error>> {
[INFO] [stdout]    |                                                                              ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `responses::metadata::*`
[INFO] [stdout]   --> src/network/handler.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use responses::metadata::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `responses::response::*`
[INFO] [stdout]   --> src/network/handler.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use responses::response::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/network/handler.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     'main: loop {
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parser/message.rs:147:39
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn foo<'a>(mb: &'a [u8], crc_parser: &Fn(&'a [u8]) -> IResult<&'a [u8], u32>) -> IResult<&'a [u8], Message<'a>> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a [u8]) -> IResult<&'a [u8], u32>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufMut`, `BytesMut`
[INFO] [stdout]  --> src/network/kafka.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::{BytesMut, BufMut};
[INFO] [stdout]   |             ^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/network/kafka.rs:57:78
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn start_listener(address: String) -> Result<thread::JoinHandle<()>, Box<Error>> {
[INFO] [stdout]    |                                                                              ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `responses::metadata::*`
[INFO] [stdout]   --> src/network/handler.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use responses::metadata::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `responses::response::*`
[INFO] [stdout]   --> src/network/handler.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use responses::response::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/network/handler.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     'main: loop {
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]   --> src/network/handler.rs:82:69
[INFO] [stdout]    |
[INFO] [stdout] 82 |             error!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/network/handler.rs:82:86
[INFO] [stdout]    |
[INFO] [stdout] 82 |             error!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]    |                                                                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]    --> src/network/handler.rs:114:73
[INFO] [stdout]     |
[INFO] [stdout] 114 |               println!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]     |                                                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
[INFO] [stdout]    --> src/network/handler.rs:114:90
[INFO] [stdout]     |
[INFO] [stdout] 114 |               println!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]     |                                                                                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]    --> src/network/handler.rs:139:69
[INFO] [stdout]     |
[INFO] [stdout] 139 |             error!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
[INFO] [stdout]    --> src/network/handler.rs:139:86
[INFO] [stdout]     |
[INFO] [stdout] 139 |             error!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]     |                                                                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'mio::Ready::all': removed
[INFO] [stdout]    --> src/network/handler.rs:223:42
[INFO] [stdout]     |
[INFO] [stdout] 223 |       self.poll.register(&stream, token, Ready::all(), PollOpt::edge());
[INFO] [stdout]     |                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]   --> src/storage.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |       if let Ok(count) = rx.recv() {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/storage.rs:88:56
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn storage(out:&Sender<network::handler::Message>, name: &str) -> Sender<Request> {
[INFO] [stdout]    |                                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fd`
[INFO] [stdout]   --> src/storage.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let fd = self.file.as_raw_fd();
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_fd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/network/handler.rs:70:18
[INFO] [stdout]    |
[INFO] [stdout] 70 |             Done(buf, size) => Ok(size as usize),
[INFO] [stdout]    |                  ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/network/handler.rs:90:52
[INFO] [stdout]    |
[INFO] [stdout] 90 |   fn read_to_buf(&mut self, buffer: &mut BytesMut, size: usize) -> ClientResult {
[INFO] [stdout]    |                                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/network/handler.rs:218:24
[INFO] [stdout]     |
[INFO] [stdout] 218 |     if let Ok((stream, addr)) = self.tcp_listener.accept() {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `restart_count`
[INFO] [stdout]  --> src/util.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn monitor<F, R>(f: F, restart_count: u8) -> Result<R, u8>
[INFO] [stdout]   |                            ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_restart_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/proust.rs:31:38
[INFO] [stdout]    |
[INFO] [stdout] 31 |       RequestPayload::ProduceRequest(x) => {
[INFO] [stdout]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/storage.rs:28:15
[INFO] [stdout]    |
[INFO] [stdout] 28 |     if let Ok(mut file) = OpenOptions::new().read(true).write(true).create(true).open(filename) {
[INFO] [stdout]    |               ----^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/storage.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 |       let mut sl: &mut[u8] = unsafe { from_raw_parts_mut(mm.as_mut_ptr(), mm.len()) };
[INFO] [stdout]    |           ----^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/storage.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut sl: &mut[u8] = unsafe { from_raw_parts_mut(mm.as_mut_ptr(), mm.len()) };
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `from_int`
[INFO] [stdout]   --> src/parser/errors.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn from_int(code: u32) -> Option<InputError> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `Request`
[INFO] [stdout]   --> src/storage.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type Request  = u8;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `Response`
[INFO] [stdout]   --> src/storage.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub type Response = u8;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `filename`
[INFO] [stdout]   --> src/storage.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 |   filename: &'a str,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `storage`
[INFO] [stdout]   --> src/storage.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn storage(out:&Sender<network::handler::Message>, name: &str) -> Sender<Request> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Stop`
[INFO] [stdout]    --> src/network/handler.rs:150:3
[INFO] [stdout]     |
[INFO] [stdout] 150 |   Stop,
[INFO] [stdout]     |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Data`
[INFO] [stdout]    --> src/network/handler.rs:151:3
[INFO] [stdout]     |
[INFO] [stdout] 151 |   Data(Vec<u8>),
[INFO] [stdout]     |   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Close`
[INFO] [stdout]    --> src/network/handler.rs:152:3
[INFO] [stdout]     |
[INFO] [stdout] 152 |   Close(usize)
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `monitor`
[INFO] [stdout]  --> src/util.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn monitor<F, R>(f: F, restart_count: u8) -> Result<R, u8>
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |   jg.join();
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/storage.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 |           file.set_len(4096);
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/storage.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 |     self.file.set_len((self.size + 4096) as u64);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/storage.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         t2.send(network::handler::Message::Data(v.clone()));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/network/kafka.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         self.write(&v[..]);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/network/handler.rs:223:7
[INFO] [stdout]     |
[INFO] [stdout] 223 |       self.poll.register(&stream, token, Ready::all(), PollOpt::edge());
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/network/handler.rs:324:7
[INFO] [stdout]     |
[INFO] [stdout] 324 |       self.poll.deregister(client.socket());
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 40 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]   --> src/network/handler.rs:82:69
[INFO] [stdout]    |
[INFO] [stdout] 82 |             error!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/network/handler.rs:82:86
[INFO] [stdout]    |
[INFO] [stdout] 82 |             error!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]    |                                                                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]    --> src/network/handler.rs:114:73
[INFO] [stdout]     |
[INFO] [stdout] 114 |               println!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]     |                                                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
[INFO] [stdout]    --> src/network/handler.rs:114:90
[INFO] [stdout]     |
[INFO] [stdout] 114 |               println!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]     |                                                                                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]    --> src/network/handler.rs:139:69
[INFO] [stdout]     |
[INFO] [stdout] 139 |             error!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
[INFO] [stdout]    --> src/network/handler.rs:139:86
[INFO] [stdout]     |
[INFO] [stdout] 139 |             error!("error writing: {:?} | {:?} | {:?} | {:?}", e, e.description(), e.cause(), e.kind());
[INFO] [stdout]     |                                                                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'mio::Ready::all': removed
[INFO] [stdout]    --> src/network/handler.rs:223:42
[INFO] [stdout]     |
[INFO] [stdout] 223 |       self.poll.register(&stream, token, Ready::all(), PollOpt::edge());
[INFO] [stdout]     |                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]   --> src/storage.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |       if let Ok(count) = rx.recv() {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/storage.rs:88:56
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn storage(out:&Sender<network::handler::Message>, name: &str) -> Sender<Request> {
[INFO] [stdout]    |                                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fd`
[INFO] [stdout]   --> src/storage.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let fd = self.file.as_raw_fd();
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_fd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/network/handler.rs:70:18
[INFO] [stdout]    |
[INFO] [stdout] 70 |             Done(buf, size) => Ok(size as usize),
[INFO] [stdout]    |                  ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/network/handler.rs:90:52
[INFO] [stdout]    |
[INFO] [stdout] 90 |   fn read_to_buf(&mut self, buffer: &mut BytesMut, size: usize) -> ClientResult {
[INFO] [stdout]    |                                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/network/handler.rs:218:24
[INFO] [stdout]     |
[INFO] [stdout] 218 |     if let Ok((stream, addr)) = self.tcp_listener.accept() {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `restart_count`
[INFO] [stdout]  --> src/util.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn monitor<F, R>(f: F, restart_count: u8) -> Result<R, u8>
[INFO] [stdout]   |                            ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_restart_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/proust.rs:31:38
[INFO] [stdout]    |
[INFO] [stdout] 31 |       RequestPayload::ProduceRequest(x) => {
[INFO] [stdout]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/storage.rs:28:15
[INFO] [stdout]    |
[INFO] [stdout] 28 |     if let Ok(mut file) = OpenOptions::new().read(true).write(true).create(true).open(filename) {
[INFO] [stdout]    |               ----^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/storage.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 |       let mut sl: &mut[u8] = unsafe { from_raw_parts_mut(mm.as_mut_ptr(), mm.len()) };
[INFO] [stdout]    |           ----^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/storage.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut sl: &mut[u8] = unsafe { from_raw_parts_mut(mm.as_mut_ptr(), mm.len()) };
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `from_int`
[INFO] [stdout]   --> src/parser/errors.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn from_int(code: u32) -> Option<InputError> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `Request`
[INFO] [stdout]   --> src/storage.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type Request  = u8;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `Response`
[INFO] [stdout]   --> src/storage.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub type Response = u8;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `filename`
[INFO] [stdout]   --> src/storage.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 |   filename: &'a str,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `storage`
[INFO] [stdout]   --> src/storage.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn storage(out:&Sender<network::handler::Message>, name: &str) -> Sender<Request> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Stop`
[INFO] [stdout]    --> src/network/handler.rs:150:3
[INFO] [stdout]     |
[INFO] [stdout] 150 |   Stop,
[INFO] [stdout]     |   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Data`
[INFO] [stdout]    --> src/network/handler.rs:151:3
[INFO] [stdout]     |
[INFO] [stdout] 151 |   Data(Vec<u8>),
[INFO] [stdout]     |   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Close`
[INFO] [stdout]    --> src/network/handler.rs:152:3
[INFO] [stdout]     |
[INFO] [stdout] 152 |   Close(usize)
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `monitor`
[INFO] [stdout]  --> src/util.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn monitor<F, R>(f: F, restart_count: u8) -> Result<R, u8>
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |   jg.join();
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/storage.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 |           file.set_len(4096);
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/storage.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 |     self.file.set_len((self.size + 4096) as u64);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/storage.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         t2.send(network::handler::Message::Data(v.clone()));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/network/kafka.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         self.write(&v[..]);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/network/handler.rs:223:7
[INFO] [stdout]     |
[INFO] [stdout] 223 |       self.poll.register(&stream, token, Ready::all(), PollOpt::edge());
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/network/handler.rs:324:7
[INFO] [stdout]     |
[INFO] [stdout] 324 |       self.poll.deregister(client.socket());
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 40 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 11.87s
[INFO] running `Command { std: "docker" "inspect" "30484cac50012c0143688ef9a82145d4519ab0fd4db64cb6a9dfafa5eafc34c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30484cac50012c0143688ef9a82145d4519ab0fd4db64cb6a9dfafa5eafc34c9", kill_on_drop: false }`
[INFO] [stdout] 30484cac50012c0143688ef9a82145d4519ab0fd4db64cb6a9dfafa5eafc34c9
